package io.hxci.modules.edu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "edu_record_stu")
public class EduRecordStu {
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 学生id
     */
    @TableField(value = "sid")
    private Long sid;

    /**
     * 课程记录id
     */
    @TableField(value = "recordid")
    private String recordid;

    /**
     * 班级id
     */
    @TableField(value = "bid")
    private Long bid;



    /**
     * 创建时间
     */
    @TableField(value = "createtime")
    private Date createtime;

    /**
     * ip地址
     */
    @TableField(value = "ips")
    private String ips;

    /**
     * 时间戳
     */
    @TableField(value = "timer")
    private String timer;

    /**
     * 修改时间
     */
    @TableField(value = "updatetime")
    private Date updatetime;

    /**
     * 签到状态，1，已签到，2，迟到，3，请假，4，旷课
     */
    @TableField(value = "status")
    private String status;
}